<?php

namespace app\admin\validate;

use think\Validate;

class SysMenu extends Validate
{
    protected $rule = [
        'menu_name'=>'require',
        'order_num'=>'require|number',
    ];

    protected $message = [
        'menu_name'=>'菜单名称必须',
        'order_num.require'=>'排序必须',
        'order_num.number'=>'排序必须为数字',
    ];
}
